package com.qf.smsplatform.interfaces.service.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

/**
 * 作者：郝国栋
 * 项目名：IntelliJ IDEA
 * 时间:2020/8/25  21:41
 * 描述:
 */
@FeignClient(value = "sms-platform-cache")
public interface CacheService {
    @RequestMapping(value = "/cache/hmget/{key}", method = RequestMethod.GET)
    Map hMGet(@PathVariable("key") String key);

}
